package chapter.sixth.item31;

public enum Ensemble {
	SOLO(1),DUET(2),TRIO(3),QUARTET(4),QUINTET(5),
	SEXTET(6),SEPTET(7),OCTET(8),NONET(9),DECTET(10);
	
	private final int num;
	Ensemble(int num){
		this.num = num;
	}
	
	public int numberOfMusicians(){ return num;};
	
	public static void main(String[] args) {
		System.out.println(Ensemble.DECTET.numberOfMusicians());
	}
}
